"""Added new Order type

Revision ID: aa2c7dde868a
Revises: 637a4ff99008
Create Date: 2023-05-12 10:37:50.200573

"""
from alembic import op
from sqlalchemy.dialects import mysql

# revision identifiers, used by Alembic.
revision = "aa2c7dde868a"
down_revision = "637a4ff99008"
branch_labels = None
depends_on = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column("order", "expiring_on", existing_type=mysql.DATETIME(), nullable=True)
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column("order", "expiring_on", existing_type=mysql.DATETIME(), nullable=False)
    # ### end Alembic commands ###
